home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Aventura / dexter.swf / scripts / DefineButton2_1040 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2003-10-24  |  404 b   |  21 lines

  1. on(release){
  2.    if(eval("/:playonce") != "1")
  3.    {
  4.       if(eval("/:to1") + eval("/:to2") + eval("/:gl1") + eval("/:gl2") == "4")
  5.       {
  6.          tellTarget("dis" add eval("/:apple"))
  7.          {
  8.             gotoAndPlay(2);
  9.          }
  10.          set("/:play","1");
  11.       }
  12.       else
  13.       {
  14.          tellTarget("error")
  15.          {
  16.             gotoAndPlay(2);
  17.          }
  18.       }
  19.    }
  20. }
  21.